package com.pactera.demo.common.exception;

import org.springframework.security.access.AccessDeniedException;

/**
 * <p>
 * 自定义一个404异常
 * </p>
 *
 * @author chang.zhou
 * @version 1.0
 * @date Created in 2020/3/2 15:56
 */
public class ResourceNotFoundException extends AccessDeniedException {

    public ResourceNotFoundException(String msg) {
        super(msg);
    }

    public ResourceNotFoundException(String msg, Throwable t) {
        super(msg, t);
    }
}
